package com.yukefms.rule.formula.interfaces;

import com.yukefms.engine.running.MatchedStatus;
import com.yukefms.engine.running.RunningContext;
import com.yukefms.jointpoint.BodyPointCloud;

/**
 * @Description
 * @Author Ping
 * @Date 2021/8/20 10:34
 **/
public interface Matchable {
    /**
     * the rule is evaluated in the context for bodyPointCloud.
     * @param bodyPointCloud
     * @param context
     * @return true, if matched, and false, o.w.
     */
    MatchedStatus matched(BodyPointCloud bodyPointCloud, RunningContext context) ;

}
